<template>
  <collocate-wrap ref="collocateWrap"/>
</template>

<script>
  /**
   * @Author: yqe@360shop.cn
   * @Date: 2019-12-19 10:59:00
   * @Last Modified by: yqe@360shop.cn
   * @Last Modified time: 2019-12-19 10:59:04
   */
  import Vue from 'vue'
  import collocateWrap from './collocateWrap'
  export default Vue.extend({
    name: 'index',
    components: {
      collocateWrap
    },
    mounted() {
      // TODO 小程序触底加载更多
      window.addEventListener('reachbottom', () => {
        this.$refs.collocateWrap.onLoad()
      })
    }
  })
</script>

<style>

</style>
